package org.nepu.scr.indexrate.ratelongevity.longevityscore;

import org.lboot.jpa.service.UniService;
import org.nepu.scr.indexrate.ratelongevity.longevityscore.params.LongevityScoreData;

import java.util.List;

public interface LongevityScoreService extends UniService<LongevityScore, String> {
    List<LongevityScore> getByLongevityName(String evaluationId);

    LongevityScoreData saveLongevityData(String evaluationDataId, LongevityScoreData data);

    LongevityScoreData readLongevityData(String evaluationId);

    boolean deleteLongevityData(String evaluationId);
}
